
//调查文档的对话框
var threedcwdDlg = null;

function threedcwdDlgInit(){
	if(threedcwdDlg==null){//如果对话框不存在，那么创建
		threedcwdDlgCreate();
		threedcwdDlg.zindex();
	}else if(itemExistArray(threedcwdDlg,minDlgArray)){//如果对话框存在，且对话框处在最小化的状态
		//调用minbar.js之中的还原方法
		resizeMinDlgFuncBySecondaryfuncDiv(threedcwdDlg);
	}
	threedcwdDlg.zindex();
}	

//创建对话框
function threedcwdDlgCreate(){
	threedcwdDlg =  $.dialog({
		title: '调查信息',
		content: 'url:jsp/dcwd/dcwd.jsp',
		dlgDivId: "threedcwdDlgId",
		resize: false,
		max: false,
		left:(document.documentElement.clientWidth-830)/2+"px",
		top:'200px',
		width:'630px',
		height:'420px',
		min:threedcwdDlgMinFunction,
		close:threedcwdDlgCloseFunction,
	});
}

//关闭的方法
function threedcwdDlgCloseFunction(){
	threedcwdDlg = null;
}

//最小化的方法
function threedcwdDlgMinFunction(){
	minDlgByAnimate(threedcwdDlg);
}
